const BaseController = require("../BaseController")
class LoginController extends BaseController{
    async login() {
        const { ctx, service } = this;
        // 解析参数
        const data = ctx.request.body;
        const res = await service.admin.loginService.login(data);
        this.ok(res);
    }
}


module.exports = LoginController;